
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
<title></title>
</head>
<body onload = "machineStyle()">
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script>
var hrefA = "https://mp.weixin.qq.com/s/2JSIRHxtB5pFv0iwFNq-oA"
var hrefB = "http://ssdf1.gitee.io/newjump?viewNum=0"
function machineStyle() {
    var u = navigator.userAgent, app = navigator.appVersion;
    var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //g
    var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
    if (isIOS) {
　　　bb()　
    }else{
	 aa()
	}
}
    function bb(){
		if (window.history && window.history.pushState) {
			$(window).on('popstate', function () {
				window.history.pushState('forward', null, '#');
				window.history.forward(1);
				window.location.href= hrefB;//执行操作
			});
		}
		window.history.pushState('forward', null, '#'); //在IE中必须得有这两行
		window.history.forward(1);
	    setTimeout('tiaozhuanA()',500)
	}
	function aa(){
    	if(window.name=="new"){
			 window.name="";	
			 setTimeout('tiaozhuanB()',500) 
			 
  	  	}else{
			 window.name="new";	
			 setTimeout('tiaozhuanA()',500)    	
   	   }
	}
    function tiaozhuanA() {
        location.href= hrefA;
	}
	function tiaozhuanB() {
        location.href= hrefB;  
	}
</script>
</body>
</html>